icontheme: Fix variable mixup leading to crashes
authorBenjamin Otte <otte@redhat.com>
Fri, 17 Sep 2021 16:51:59 +0000 (18:51 +0200)
committerBenjamin Otte <otte.benjamin@googlemail.com>
Fri, 17 Sep 2021 17:41:13 +0000 (17:41 +0000)
commitcf3830704bb7b5760c0e28fc251e442772a9cb3f
tree02fa8197225349102c92746a70c2ad9ab2709f08
parent76d31ff04bf5005c1405a18c1b5733c01d256786
icontheme: Fix variable mixup leading to crashes

Note: Don't have 2 variables named "icon" and "gicon", you will screw
them up.

reftests included.

Fixes #4269
gtk/gtkicontheme.c
testsuite/reftests/meson.build
testsuite/reftests/pixbuf-icon.ref.ui [new file with mode: 0644]
testsuite/reftests/pixbuf-icon.ui [new file with mode: 0644]
testsuite/reftests/texture-icon.ref.ui [new file with mode: 0644]
testsuite/reftests/texture-icon.ui [new file with mode: 0644]